package com.bcxj.apipassenger.service;

import com.bcxj.apipassenger.remote.ServiceRoutePlanClient;
import com.bcxj.internalcommon.dto.RouteRecordDTO;
import com.bcxj.internalcommon.response.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: RouteRecordService
 * Package: com.bcxj.apipassenger.service
 * Description:
 *
 * @Author BCXJ
 * @Create 2025/4/25 14:36
 * @Version 1.0
 * @Since 1.0
 */
@Service
public class RouteRecordService {

    @Autowired
    private ServiceRoutePlanClient routePlanClient;


    /**
     * 增加历史出行记录
     * @param recordDTO
     * @return
     */
    public ResponseResult addRecord(RouteRecordDTO recordDTO) {
        return routePlanClient.addRecord(recordDTO);
    }

}
